//
//  lxServiceInfo.h
//  luodansc
//
//  Created by 倫 星 on 2012/10/05.
//  Copyright (c) 2012年 方正株式会社. All rights reserved.
//

#ifndef luodansc_lxServiceInfo_h
#define luodansc_lxServiceInfo_h

#define test_site @"www.apple.com"
#define luodan_address_stationLat 30.583645385829644
#define luodan_address_stationLon 114.33680087327957

#define DOCUMENTS_FOLDER [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]
#define DOCUMENTS_COVER  [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/Cover"]
#define DOCUMENTS_DB  [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/DB"]

#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)

#define ISIPADDEVICE (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)

#define UserDefaultDeviceTokenKey @"UserDefaultDeviceTokenKey"

#define DBFileName @"luodansc.db3"
#define web_root @"http://www.luodansc.com/"
#define web_root_mobile @"http://www.luodansc.com/"
#define web_user_register @"http://www.luodansc.com/user.php"
#define getRootInfoServlet @"get_root_info_servlet.php"
#define getRecommendGoodsServlet @"get_recommend_goods_servlet.php"
#define getGoodsListServlet @"get_goods_list_servlet.php"
#define getGoodsServlet @"get_goods_servlet.php"
#define getUserInfoServlet @"get_user_info_servlet.php"
#define setApnsInfoServlet @"set_apns_info_servlet.php"
#define getCategoryListServlet @"get_category_list_servlet.php"
#define clearDeviceBadgeServlet @"clear_device_badge_servlet.php"
#define registerUserServlet @"register_user_servlet.php"

    #ifdef DISTRIBUTION
        #define service_url @"http://www.luodansc.com/mobile/"
        #define to_mail @"31516257@qq.com"
        #define bcc_mail @"xing_lun@hotmail.com"
    #else
        #define service_url @"http://www.luodansc.com/mobile/"
        #define to_mail @"31516257@qq.com"
        #define bcc_mail @"xing_lun@hotmail.com"
    #endif

#endif
